import sys


# first is filename  other is parameterlist
print(sys.argv)

if len(sys.argv) > 1 :
    if sys.argv[1]=='post':
        print('post ....')
    elif sys.argv[1]=='download':
        print('download ....')
else:
    print(sys.argv[0])
    
print('------------')
# 系统环境变量path
print(sys.path)

print('------------')
print(sys.platform)